import Layout from '@/layout'

const produceRouter = {
  path: '/produce',
  component: Layout,
  name: 'Produce',
  meta: { title: '生产', icon: 'example' },
  children: [
    {
      path: 'search',
      name: 'Table',
      component: () => import('@/views/produce/search'),
      meta: { title: '生产任务查询', icon: 'table' }
    },
    {
      path: 'add',
      name: 'Tree',
      component: () => import('@/views/produce/add'),
      meta: { title: '生产任务添加', icon: 'tree' }
    },
  ]
}

export default produceRouter
